﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace Core.DataAccess.Model.Migrations.Project
{
    public partial class project_min_3 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "MinAppId",
                table: "ProjectWChatPay");

            migrationBuilder.DropColumn(
                name: "MinSecret",
                table: "ProjectWChatPay");

            migrationBuilder.DropColumn(
                name: "MinAppId",
                table: "ProjectAliPay");

            migrationBuilder.DropColumn(
                name: "MinPrivtekey",
                table: "ProjectAliPay");

            migrationBuilder.DropColumn(
                name: "MinPublickey",
                table: "ProjectAliPay");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "MinAppId",
                table: "ProjectWChatPay",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "MinSecret",
                table: "ProjectWChatPay",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "MinAppId",
                table: "ProjectAliPay",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "MinPrivtekey",
                table: "ProjectAliPay",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "MinPublickey",
                table: "ProjectAliPay",
                nullable: true);
        }
    }
}
